package org.demo.xml.bean;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlElement;

/**
 * 
 * @author  
 * @date    2010-12-20
 * @file    org.demo.xml.bean.TrendLinesBean.java
 */
public class TrendLinesBean {

	private List<LineBean> lineList = new ArrayList<LineBean>();

	/**
	 * @return the lineList
	 */
	@XmlElement(name="line")
	public List<LineBean> getLineList() {
		return lineList;
	}

	/**
	 * @param lineList the lineList to set
	 */
	public void setLineList(List<LineBean> lineList) {
		this.lineList = lineList;
	}
	
	/**
	 * add one bean
	 * @param bean
	 */
	public void addLine(LineBean bean){
		this.lineList.add(bean);
	}
}
